<#-- @ftlvariable name="entity" type="com.xci.edu.background.entity.ExamRecordDetails" -->
<#include "/sys/_layout.ftl">
<!doctype html>
<html>
<head>
    <@pageHeader/>
</head>
<body>
<@pageLoading/>
<div class="jxpanel winpanel" data-fit="true">
    <form id="editform" class="jxform" method="post"
          action="${saveUrl("/background/examRecordDetails/","createSave","updateSave")}">
        <input name="id" value="${entity.}" type="hidden">
        <table class="table jxtable-form">
            <tr>
                <th>考试记录主键</th>
                <td>
                    <input class="form-control" id="recordId" name="recordId" value="${entity.recordId}" maxlength="" data-validate="required: [true,'请输入考试记录主键']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th class="w-100px">试题主键</th>
                <td>
                    <input class="form-control" id="questionId" name="questionId" value="${entity.questionId}" maxlength="" data-validate="required: [true,'请输入试题主键']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>用户答案</th>
                <td>
                    <input class="form-control" id="answer" name="answer" value="${entity.answer}" maxlength="50"  autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>状态[1-正确, 0-错误]</th>
                <td>
                                            <label>
                            <input class="jxcheck" name="status" ${web.isChecked(entity.status)} type="checkbox" value="1" data-unchecked-value="0"/> 启用
                        </label>
                                    </td>
            </tr>
            <tr>
                <th>排序号</th>
                <td>
                    <input class="form-control" id="path" name="path" value="${entity.path}" maxlength="" data-validate="required: [true,'请输入排序号']" autocomplete="off"/>
                </td>
            </tr>
        </table>
    </form>
    <div class="panel-footer text-right">
        <@editFormDialogCommand/>
    </div>
</div>
<@editFormPageFooter/>
</body>
</html>
